package org.techism.client.services;

import java.util.List;
import java.util.SortedMap;

import org.techism.client.bo.Event;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("events")
public interface EventService extends RemoteService {

    Event getEventById(String eventId);

    SortedMap<String, List<Event>> getEventsByYear(int year);

    SortedMap<String, Integer> getTags();

    SortedMap<String, List<Event>> getFutureEventsForThisYear(final String tag);

    SortedMap<String, List<Event>> getFutureEventsForThisYear();

}
